{extend name="base/main" /}
{block name="body"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>银行管理 / 添加银行</h5>
        </div>
        <div class="ibox-content">
            <form id="f" action="{:url('BankRules/add')}" class="form-horizontal m-t">
                <div class="form-group">
                    <label class="col-sm-2 control-label">规则：</label>
                    <div class="col-sm-4">
                        <input name="rules" class="form-control" type="text" datatype="*2-15">
                        <span class="help-block m-b-none Validform_checktip" ></span>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-3">
                        <button class="btn btn-primary" type="submit">提交</button>
                        <button class="btn btn-default historygo" type="button">返回</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<script>
  $(".select-house").on('click',function(){
      layer.open({
        type : 2,
        title : '选择小区',
        area : ['500px','500px'],
        shade : 0.2,
        shadeClose: true,
        content : "{:url('bank/getresiden')}",
        iframeAuto:true
      });
    });
  });
    var ue = UE.getEditor('editor_id',{});
</script>
{/block}